Skip to content

More flexible sendability#118

Merged
stephencelis merged 2 commits into
mainfrom
drop-sendable
Aug 11, 2025
Merged

More flexible sendability#118
stephencelis merged 2 commits into
mainfrom
drop-sendable

Conversation

@stephencelis
Copy link
Copy Markdown
Member

StructuredQueries is introducing changes to weaken its dependence on Sendable types in preparation of Xcode 26 / Swift 6.2 and default main actor isolation: pointfreeco/swift-structured-queries#128

This PR provides compatibility for those changes by eagerly erasing to a sendable expression when @FetchAll and @FetchOne load a statement.

@stephencelis stephencelis requested a review from mbrandonw August 11, 2025 17:33
@stephencelis stephencelis merged commit f7f388b into main Aug 11, 2025
6 checks passed
@stephencelis stephencelis deleted the drop-sendable branch August 11, 2025 18:23
@DandyLyons
Copy link
Copy Markdown

I just had a bunch of sendability errors. SharingGRDBCore was failing to compile.
Upgraded from 0.5.0 to 0.5.1 and all the errors went away.
Great job! 🙏 🎉

mackoj pushed a commit to mackoj/sqlite-data that referenced this pull request Dec 5, 2025
When called with a predicate-less `Where` it could lead to invalid SQL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants